package net.xiaosaguo.mymall.auth.feign;

import net.xiaosaguo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * description: 第三方服务远程调用接口
 *
 * @author xiaosaguo
 * @date 2020/07/05
 */
@FeignClient("mymall-third-party")
public interface ThirdPartyFeignService {

    @GetMapping("/thirdparty/sms/sendCode")
    R sendCode(@RequestParam String phone, @RequestParam String code);
}
